import 'package:json_annotation/json_annotation.dart';
part 'http_model.g.dart';

@JsonSerializable()
class HttpModelResult {
  final bool success;
  final String message;

  const HttpModelResult(
    this.success,
    this.message,
  );

  factory HttpModelResult.fromJson(Map json) => _$HttpModelResultFromJson(json);
  Map toJson() => _$HttpModelResultToJson(this);
}
